package com.ojoin.trade.t0loan_core.web.domain;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ojoin.trade.common.utils.json.RMBDisplaySerializer;
import com.ojoin.trade.common.web.domain.IDentifiable;

public class TbT0LoanTransanctionLog implements IDentifiable, Serializable  {
    private Integer id;

    private Integer idOfTbFactoringCompany;

    private Integer idOfTbFactoringOperator;

    private String userIdOfIPayNowOfCreditor;

    private String userIdOfIPayNowOfDebtor;

    private String operationType;

    @JsonSerialize(using = RMBDisplaySerializer.class)
    private String accountBalanceOfIPayNowOfCreditor;

    @JsonSerialize(using = RMBDisplaySerializer.class)
    private String accountBalanceOfIPayNowOfDebtor;

    @JsonSerialize(using = RMBDisplaySerializer.class)
    private String incomeFromRatio;

    @JsonSerialize(using = RMBDisplaySerializer.class)
    private String incomeFromFee;

    private String transamountscale;

    @JsonSerialize(using = RMBDisplaySerializer.class)
    private String accountTrans;
    
    @JsonSerialize(using = RMBDisplaySerializer.class)
    private String accountClearing;

    @JsonSerialize(using = RMBDisplaySerializer.class)
    private String accountDelta;

    private Integer creditstatus;

    private String orderId;

    private Date rowUpdateTime;

    private Date rowCreateTime;
    
    private String busiDate; //业务交易日期

    private String creditDate; //垫款日期
    
    private String shouldReturnDate; //应还日期

    private String realReturnDate; //实还日期

    @JsonSerialize(using = RMBDisplaySerializer.class)
    private String realReturnAmount; //实还金额

    private Integer idOfTbMerchantUserOfCreditor ; //垫款方九盈用户id

    private Integer idOfTbMerchantUserOfDebtor; //还款方九盈用户id
    
    private String returnOrderId; //还款转账订单id
    
    public String getCreditDate() {
		return creditDate;
	}

	public void setCreditDate(String creditDate) {
		this.creditDate = creditDate;
	}

	public String getShouldReturnDate() {
		return shouldReturnDate;
	}

	public void setShouldReturnDate(String shouldReturnDate) {
		this.shouldReturnDate = shouldReturnDate;
	}

	public String getRealReturnDate() {
		return realReturnDate;
	}

	public void setRealReturnDate(String realReturnDate) {
		this.realReturnDate = realReturnDate;
	}

	public String getRealReturnAmount() {
		return realReturnAmount;
	}

	public void setRealReturnAmount(String realReturnAmount) {
		this.realReturnAmount = realReturnAmount;
	}

	public Integer getIdOfTbMerchantUserOfCreditor() {
		return idOfTbMerchantUserOfCreditor;
	}

	public void setIdOfTbMerchantUserOfCreditor(Integer idOfTbMerchantUserOfCreditor) {
		this.idOfTbMerchantUserOfCreditor = idOfTbMerchantUserOfCreditor;
	}

	public Integer getIdOfTbMerchantUserOfDebtor() {
		return idOfTbMerchantUserOfDebtor;
	}

	public void setIdOfTbMerchantUserOfDebtor(Integer idOfTbMerchantUserOfDebtor) {
		this.idOfTbMerchantUserOfDebtor = idOfTbMerchantUserOfDebtor;
	}

	public String getBusiDate() {
		return busiDate;
	}

	public void setBusiDate(String busiDate) {
		this.busiDate = busiDate;
	}

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getIdOfTbFactoringCompany() {
        return idOfTbFactoringCompany;
    }

    public void setIdOfTbFactoringCompany(Integer idOfTbFactoringCompany) {
        this.idOfTbFactoringCompany = idOfTbFactoringCompany;
    }

    public Integer getIdOfTbFactoringOperator() {
        return idOfTbFactoringOperator;
    }

    public void setIdOfTbFactoringOperator(Integer idOfTbFactoringOperator) {
        this.idOfTbFactoringOperator = idOfTbFactoringOperator;
    }

    public String getUserIdOfIPayNowOfCreditor() {
        return userIdOfIPayNowOfCreditor;
    }

    public void setUserIdOfIPayNowOfCreditor(String userIdOfIPayNowOfCreditor) {
        this.userIdOfIPayNowOfCreditor = userIdOfIPayNowOfCreditor == null ? null : userIdOfIPayNowOfCreditor.trim();
    }

    public String getUserIdOfIPayNowOfDebtor() {
        return userIdOfIPayNowOfDebtor;
    }

    public void setUserIdOfIPayNowOfDebtor(String userIdOfIPayNowOfDebtor) {
        this.userIdOfIPayNowOfDebtor = userIdOfIPayNowOfDebtor == null ? null : userIdOfIPayNowOfDebtor.trim();
    }

    public String getOperationType() {
        return operationType;
    }

    public void setOperationType(String operationType) {
        this.operationType = operationType;
    }

    public String getAccountBalanceOfIPayNowOfCreditor() {
        return accountBalanceOfIPayNowOfCreditor;
    }

    public void setAccountBalanceOfIPayNowOfCreditor(String accountBalanceOfIPayNowOfCreditor) {
        this.accountBalanceOfIPayNowOfCreditor = accountBalanceOfIPayNowOfCreditor == null ? null : accountBalanceOfIPayNowOfCreditor.trim();
    }

    public String getAccountBalanceOfIPayNowOfDebtor() {
        return accountBalanceOfIPayNowOfDebtor;
    }

    public void setAccountBalanceOfIPayNowOfDebtor(String accountBalanceOfIPayNowOfDebtor) {
        this.accountBalanceOfIPayNowOfDebtor = accountBalanceOfIPayNowOfDebtor == null ? null : accountBalanceOfIPayNowOfDebtor.trim();
    }

    public String getIncomeFromRatio() {
        return incomeFromRatio;
    }

    public void setIncomeFromRatio(String incomeFromRatio) {
        this.incomeFromRatio = incomeFromRatio == null ? null : incomeFromRatio.trim();
    }

    public String getIncomeFromFee() {
        return incomeFromFee;
    }

    public void setIncomeFromFee(String incomeFromFee) {
        this.incomeFromFee = incomeFromFee == null ? null : incomeFromFee.trim();
    }

    public String getTransamountscale() {
        return transamountscale;
    }

    public void setTransamountscale(String transamountscale) {
        this.transamountscale = transamountscale == null ? null : transamountscale.trim();
    }

    public String getAccountClearing() {
        return accountClearing;
    }

    public void setAccountClearing(String accountClearing) {
        this.accountClearing = accountClearing == null ? null : accountClearing.trim();
    }

    public String getAccountTrans() {
        return accountTrans;
    }

    public void setAccountTrans(String accountTrans) {
        this.accountTrans = accountTrans == null ? null : accountTrans.trim();
    }
    
    public String getAccountDelta() {
        return accountDelta;
    }

    public void setAccountDelta(String accountDelta) {
        this.accountDelta = accountDelta == null ? null : accountDelta.trim();
    }

    public Integer getCreditstatus() {
        return creditstatus;
    }

    public void setCreditstatus(Integer creditstatus) {
        this.creditstatus = creditstatus;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId == null ? null : orderId.trim();
    }

    public Date getRowUpdateTime() {
        return rowUpdateTime;
    }

    public void setRowUpdateTime(Date rowUpdateTime) {
        this.rowUpdateTime = rowUpdateTime;
    }

    public Date getRowCreateTime() {
        return rowCreateTime;
    }

    public void setRowCreateTime(Date rowCreateTime) {
        this.rowCreateTime = rowCreateTime;
    }

	public String getReturnOrderId() {
		return returnOrderId;
	}

	public void setReturnOrderId(String returnOrderId) {
		this.returnOrderId = returnOrderId;
	}

	@Override
	public String getTableName() {
		return "tb_t0_loan_transanction_log";
	}
	
	public static String getDefTableName() {
		return "tb_t0_loan_transanction_log";
	}
	
}